﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MutiCodecO.codeclib
{
    class Asii2Base64 : ICodec
    {
        public String parse(String strInput)
        {
            return Convert.ToBase64String(Encoding.Default.GetBytes(strInput));
        }

        public String parse(String strInput, String prefix, String partion)
        {
            return Convert.ToBase64String(Encoding.Default.GetBytes(strInput));
        }
    }
}
